package com.jiangore.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Todo
 * @Author jiangtao
 * @CreateBy 2020-03-10 10:46 PM
 * @UpdateBy jiangtao
 * @Version v1.0
 */
@Slf4j
@RestController
public class TestController {

    @RequestMapping("index")
    public String index() {
        log.trace("trace======");
        log.debug("debug log ------------------");
        log.info("info log -------------");
        log.warn("我是中文警告日志 ------------");
        log.error("我是error级别的日志哦======");

        return "index";
    }
}
